package com.clear.subject.infra.basic.es;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Map;

/**
 * 封装的数据源
 */
@Getter
@Setter
public class EsSourceData implements Serializable {

    /**
     * 文档id
     * todo 具有唯一性
     */
    private String docId;

    private Map<String,Object> data;
}
